package com.jumi.microservice.dto.logistics;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jumi.microservice.common.base.dto.BaseResponse;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author by  mazhao
 * @Date 2020-08-04 
 */

public class ListSpiltMergeSetupResponse extends BaseResponse {

	@ExcelProperty("spuId")
	@ApiModelProperty("spuId")
	private Integer spuId;

	@ExcelProperty("spu名称")
	@ApiModelProperty("spu名称")
	private String spuName;

	@ExcelProperty("SPU图片")
	@ApiModelProperty("SPU图片")
	private String spuCoverImg;

	@ExcelProperty("重量(kg)/个")
	@ApiModelProperty("重量(kg)/个")
	private BigDecimal weight;

	@ExcelProperty("拆合单数量")
	@ApiModelProperty("拆合单数量")
	private Integer spiltMergeCount;

	@ExcelProperty("是否单独发货 0 否 1是")
	@ApiModelProperty("是否单独发货 0 否 1是")
	private Byte isAlone;

	@ExcelProperty("添加人")
	@ApiModelProperty("添加人")
	private String adminAdd;

	@ExcelProperty("修改人")
	@ApiModelProperty("修改人")
	private String adminUpdate;

	@ExcelProperty("创建时间")
	@ApiModelProperty("创建时间")
//	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;

	@ExcelProperty("修改时间")
	@ApiModelProperty("修改时间")
//	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date updateTime;

	@ExcelProperty("启用状态 0不启用 1启用")
	@ApiModelProperty("启用状态 0不启用 1启用")
	private Byte status;

	public String getSpuCoverImg() {
		return spuCoverImg;
	}

	public void setSpuCoverImg(String spuCoverImg) {
		this.spuCoverImg = spuCoverImg;
	}

	public Byte getStatus() {
		return status;
	}

	public void setStatus(Byte status) {
		this.status = status;
	}

	public Integer getSpuId() {
		return spuId;
	}

	public void setSpuId(Integer spuId) {
		this.spuId = spuId;
	}

	public String getSpuName() {
		return spuName;
	}

	public void setSpuName(String spuName) {
		this.spuName = spuName;
	}

	public BigDecimal getWeight() {
		return weight;
	}

	public void setWeight(BigDecimal weight) {
		this.weight = weight;
	}

	public Integer getSpiltMergeCount() {
		return this.spiltMergeCount;
	}

	public void setSpiltMergeCount(Integer spiltMergeCount) {
		this.spiltMergeCount = spiltMergeCount;
	}

	public Byte getIsAlone() {
		return isAlone;
	}

	public void setIsAlone(Byte isAlone) {
		this.isAlone = isAlone;
	}

	public String getAdminAdd() {
		return adminAdd;
	}

	public void setAdminAdd(String adminAdd) {
		this.adminAdd = adminAdd;
	}

	public String getAdminUpdate() {
		return adminUpdate;
	}

	public void setAdminUpdate(String adminUpdate) {
		this.adminUpdate = adminUpdate;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}
